package com.ruoyi.subject.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会计科目对象 tb_subject
 * 
 * @author 刘凯豪
 * @date 2025-05-08
 */
public class TbSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long subjectId;

    /** 会计名称 */
    @Excel(name = "会计名称")
    private String sujectName;

    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }

    public void setSujectName(String sujectName) 
    {
        this.sujectName = sujectName;
    }

    public String getSujectName() 
    {
        return sujectName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subjectId", getSubjectId())
            .append("sujectName", getSujectName())
            .toString();
    }
}
